|
|
Component
EventCntr8
Event counter 8-bit
Component Level: High
Category:
CPU Internal Peripherals-Timer
Typical Usage:
(Examples of a typical usage of the component in user code.
For more information please
see the page Component Code
Typical Usage.)
Required component name is "EC81".
(1)
MAIN.C
void main(void)
{
EC81_Reset(); /* reset the event counter */
/* wait for 16 events */
while( EC81_GetNumEvents()<16 ) ;
}
|